#pragma once
#include<vector>
#include<string>
using namespace std;
void Conversion(char*,char*);
void DeleteDirectory( CString);
char* SimpleMap(char *s);
bool IsTable(CString ,const char*);
bool IsTable(string path, const char* tname);
char* GetTime(char*time);
bool IsDateValid(const char *DateString);
void MyLogger(string ,string );
string  Password(string);
string CStringTostring(CString);
void backup();
void Restore();
void Conversion(char *arr, const char* p);
vector<string>split(string str, string token);
string isType(string, string&);
string trimAll(string str, string replace);
string trim(string s, string token);
bool IsUnique(CString path, char*type,int pos,int lenth,int size,string content);
bool JudegWhere(CFile &file, int offset, struct_where& wh);
bool FileExist(const char *filename);

bool isNum(string str);